from django.conf.urls import url

from . import views

urlpatterns = [
    # QQ登录
    url(r'^qq/login/$', views.QQLoginView.as_view(), name='qqlogin'),

    # 登录成功的回调地址
    url(r'^oauth_callback/$', views.QQOauthCallbackView.as_view()),

    url(r'^sina/login/$', views.WeiboLoginView.as_view()),

    url(r'^sina_callback/$', views.BangdingView.as_view()),

    url(r'^oauth/sina/user/$', views.BangPushView.as_view()),
]
